package com.infinit.selfhelp.common.config

import com.infinit.selfhelp.common.net.interceptor.LoggingInterceptor
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
interface ConfigModule {

    companion object {

        @Singleton
        @Provides
        fun provideLoggingInterceptor() = LoggingInterceptor()

    }
}
